<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>短信接入管理</title>
<@fm.header />

<script type="text/javascript" src="/resources/js/smsconfig/configList.js"></script>
</head>

<body class="cmp-list-body">
<div id="tb" style="padding:3px">


    <span>状态:</span>
    <select class="easyui-combobox" id="isUseful" panelHeight="auto" style="width:155px" >
        <option value="-1" selected>-选择-</option>
        <option value="1" selected>启用</option>
        <option value="0">废弃</option>
    </select>

    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="add();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="del();">删除</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="edit();">修改</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="javascript:effect()">启用</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="javascript:abandon()">作废</a>
</div>

<div id="mainPanle" region="center" border="false">
    <table id="tt" class="easyui-datagrid" title="短信接入管理 | 接入者列表" iconCls="icon-save" toolbar="#tb" rownumbers="true" idField="id"
           url="/smsconfig/configList" singleSelect="true" checkOnSelect="false" selectOnCheck="false" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">
        <thead>
        <tr>
            <th align="center" width="10%" field="name">接入者</th>
            <th align="center" width="10%" field="code">编号</th>
            <th align="center" width="30%" field="callbackUrl">回调地址</th>
            <th align="center" width="30%" field="viewTaskNum">任务量</th>
            <th align="center" width="30%" field="viewTaskType">任务类型</th>
            <th align="center" width="10%" field="isUseful" formatter="formatterType">启用状态</th>
            <th align="center" width="20%" field="createTime">创建时间</th>
            <th align="center" width="20%" field="modifyTime">更新时间</th>
        </tr>
        </thead>
    </table>
</div>


</body>
</html>